package com.sh4.wxservice.message.req;

import java.util.List;

/**
 * 菜单
 * 
 * @author hxh
 * @version 1.0 上午1:58:10 2016-12-4
 * @since scm 1.0
 * 
 */
public class Menu {

	// butto一级菜单数组，个数应为1~3个
	private String button;
	// 菜单标题，不超过16个字节，子菜单不超过60个字节
	private String name;
	// 菜单的响应动作类型
	private String type;
	// 菜单KEY值，用于消息接口推送，不超过128字节
	private String key;
	// 网页链接，用户点击菜单可打开链接，不超过1024字节
	private String url;
	// 二级菜单
	private List<Submenu> submenus;

	public List<Submenu> getSubmenus() {
		return submenus;
	}

	public void setSubmenus(List<Submenu> submenus) {
		this.submenus = submenus;
	}

	public String getButton() {
		return button;
	}

	public void setButton(String button) {
		this.button = button;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
